package com.nf.ch03.test09.hk01;

/**
 * @author lwj
 * @date 2025-03-06
 * @vesion 1.0.0
 */
public class Test {
    public static void main(String[] args) {
        Address addr = new Address();
        DutchAddress addrAdapter = new DutchAddressAdapter(addr );
        System.out.println("\nThe DutchAddress\n");
        testDutch(addrAdapter);
    }

    static void testDutch(DutchAddress addr){
        addr.straat();
        addr.postcode();
        addr.plaats();
    }
}
